package cn.lynch.bbs.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * 论坛版面分类信息
 * @author lynch
 */
public class Category {
	
	/**
	 * 分类id
	 */
	private String id;
	
	/**
	 * 分类名称
	 */
	private String name;
	
	/**
	 *	分类描述 
	 */
	private String description;
	
	/**
	 * 显示编号（顺序）
	 */
	private Integer displayIndex;
	
	/**
	 *	版面列表 
	 */
	private Set<Forum> forums = new HashSet<Forum>(0);

	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getDisplayIndex() {
		return displayIndex;
	}

	public void setDisplayIndex(Integer displayIndex) {
		this.displayIndex = displayIndex;
	}

	public Set<Forum> getForums() {
		return forums;
	}

	public void setForums(Set<Forum> forums) {
		this.forums = forums;
	}
	
	
	
}
